<template>
  <div class="previewClass">
    <PreviewFormPage :examId="examId" />
  </div>
</template>

<script lang="ts" setup>
import { useRoute } from "vue-router";
import PreviewFormPage from "@/components/exam/PreviewFormPage.vue";

const route = useRoute();
const examId: any = route.params?.id ?? -1;

</script>

<style scoped>
.previewClass {
  width: 93%;
  margin: 0 auto;
}
</style>
